<!-- File: app/views/staffs/edit.ctp -->
<div class="row-fluid sortable">
	<div class="box span12">
		<div class="box-header" data-original-title>
			<h2>
				<i class="icon-edit"></i><span class="break"></span>Edit User
			</h2>
			<div class="box-icon">
			<?php echo $this->Html->link('<i class="halflings-icon remove"></i>', array('controller' => 'staffs', 'action' => 'index'), array('escape' => FALSE)); ?>
			</div>
		</div>
		<div class="box-content">
			
			
		<?php
		echo $this->Form->create('Staff', array('action' => 'edit','class'=>'form-horizontal','inputDefaults' => array('error' => array('class' => 'help-inline'))));
		echo $this->Form->input('username',array('div'=>array('class'=>'control-group'),'disabled'=>true));
		echo $this->Form->input('create_date');
		echo ("<br>");
		echo $this->Form->input('status', array('div'=>array('class'=>'control-group'),'options' => array('1' => 'Active', '0' => 'Inactive' ),'empty' => '(choose one)'));
		echo $this->Form->input('staff_id', array('type' => 'hidden'));
		echo $this->Form->input('update_by', array('type' => 'hidden','value'=>$staffs_staffid));
		echo ("<br>");
		echo $this->Form->submit('Update Post',array('class'=>'btn btn-primary'));
		//echo $this->Form->input('Cancel',array('type'=>'button','class'=>'btn btn-primary'));
		?>

		</div>
	</div>
</div>
